package org.edu.modules.sbzc.floor.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-房间信息表（参照JCBX0203）
 */
@TableName("ve_sbzc_jzw_room")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="房间信息表（参照JCBX0203）对象", description="ve_sbzc_jzw_room")
public class VeSbzcJzwRoom extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "建筑物id")
    private Integer jzwId;

    @TableField
    @ApiModelProperty(value = "楼层id")
    private Integer floorId;

    @TableField
    @ApiModelProperty(value = "房间号")
    @Length(max = 12)
    private String code;

    @TableField
    @ApiModelProperty(value = "房间名称")
    @Length(max = 11)
    private String name;

    @TableField
    @ApiModelProperty(value = "房间用途码（房间类别）FJYT")
    private Integer roomCateId;

    @TableField
    @ApiModelProperty(value = "房间建筑面积")
    private Float fjjzmj;

    @TableField
    @ApiModelProperty(value = "（房间使用面积）")
    private Float fjsymj;

    @TableField
    @ApiModelProperty(value = "备注")
    @Length(max = 500)
    private String remark;

    @TableField
    @ApiModelProperty(value = "删除标识0未删除，1删除")
    private Integer isDelete;
}
